import request from '@/utils/request'

// 查询订单列表
export function listExpressageOrder(query) {
  return request({
    url: '/order/list',
    method: 'get',
    params: query
  })
}

// 根据订单生成快递信息
export function addOrderCreate(data) {
    return request({
      url: '/order/add',
      method: 'post',
      data: data
    })
}

// 删除订单信息
export function delExpressageOrder(userId) {
    return request({
      url: '/order/del/' + userId,
      method: 'delete'
    })
}
